#include <iostream>
#include <fstream>
#include <string>
#include <algorithm>

int n = 1000;

std::string work(std::string s, int p)
{
    s[p] = char(s[p] + 31);
    s[p - 1]--;
    return s;
}

int main()
{
    std::ifstream fin{"hash.in"};
    std::ofstream fout{"hash.out"};
    int k;
    fin >> k;
    std::string s(n, 'F');
    fout << s << '\n';
    for (int i = 1; i < k; i++) {
        fout << work(s, i) << '\n';
    }
}
